home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1995 November
/
EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso
/
earcd
/
program
/
gcc
/
ixemul41.lha
/
ixemul-41.3
/
gnulib-soft-float
/
modsi3.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-08-19
|
203b
|
17 lines
#include "common.h"
SItype
__modsi3 (a, b)
SItype a, b;
{
unsigned SItype q, r;
int neg = (a < 0);
if (a < 0) a = -a;
if (b < 0) b = -b;
divmodu (q, r, a, b);
return neg ? -r : r;
}